package thread.zjitc.net.lib.HomeWorkShare;

/**
 * @author 朱志文
 * @data 2019/10/24 0024
 */
public class ShareTest {
    public static void main(String[] args) {
        ShareThread shareThread = new ShareThread();
        Thread prodecer = new Thread(new Producer(shareThread));
        prodecer.start();
        Thread cusumer = new Thread(new Cunsumer(shareThread));
        cusumer.start();
    }
}
